#pragma once
#include "FWGame.h"

class FWKeyboard;
class FWGraphic;
class FWContentManager;
class FWTexture;
class Penguin;
class FlockOfPenguin;
class Camera;
class BackGround;
class Cloud;
#include <d3dx9.h>
class LittleFairy;
class World;
using namespace std;
class MainGame :
	public FWGame
{
private:	
	D3DXMATRIX matrix_transform;
	FWKeyboard* keyboard;	
	FWGraphic* graphic;		
	FWContentManager* content;	
	Penguin* pen;
	Camera* _camera;
	FlockOfPenguin* bayCanhCut;
	BackGround* _backGround;
	LittleFairy* lf;
	LittleFairy* lf1;
	World* _world;
	Cloud* cloud;
	
public:
	MainGame(HINSTANCE hIns,char* windowName,int w,int h);
	~MainGame(void);

	void load();//load game data

	void update(float time);//cap nhat game

	void render();// the hien game

	void shutdown();//ket thuc game
};

